home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / taropyon / silib / inc / dlg / dlgtxm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  1.0 KB  |  43 lines

  1. #ifndef    _DLG_DLGTXM_H
  2. #define    _DLG_DLGTXM_H
  3.  
  4. #include    <setjmp.h>
  5.  
  6. #ifndef    _SIDLG_H
  7. #    include    <sidlg.h>
  8. #endif
  9. #ifndef    _SITXM_H
  10. #    include    <sitxm.h>
  11. #endif
  12. #ifndef    _LIB_BTNLST_H
  13. #    include    <LIB/btnlst.h>
  14. #endif
  15.  
  16. typedef struct
  17. {
  18.     DLG_T        *dlg;
  19.     EV_T        *ev;
  20.     jmp_buf        jmpbuf;            /* ロングジャンプ用                */
  21.  
  22.     FTSDAT_T    *ftsTitle;        /* タイトルフォント                */
  23.     char        *title;            /* タイトル                        */
  24.  
  25.     int            txmXs, txmYs;    /* テキストメッセージ表示エリア    */
  26.     TXM_T        *txm;            /* テキストメッセージ            */
  27.  
  28.     int            btnNum;            /* ボタン数                        */
  29.     BTNLST_T    *btn;
  30.     EV_T        *evBtn;            /* ボタン用イベント                */
  31.  
  32.     COLOR_T        *colTbl;            /* カラーテーブル                */
  33. } DLGTXM_T;
  34.  
  35. /*    "dlgtxm.c"        ----------------------------------------------------*/
  36. extern DLGTXM_T       *DlgTxm_open( COLOR_T boxcol );
  37. extern int            DlgTxm_setTitle( DLGTXM_T *dlgTxm, FTSDAT_T *fts, CONST char *form, ... );
  38. extern int            DlgTxm_setSize( DLGTXM_T *dlgTxm, int xs, int ys );
  39. extern int            DlgTxm_start( DLGTXM_T *dlgTxm );
  40. extern void            DlgTxm_close( DLGTXM_T *dlgTxm );
  41.  
  42. #endif
  43.